using System;

namespace nHydrate.EFCore.Attributes
{
	/// <summary>
	/// Identities an entity class as having an audit history
	/// </summary>
	[AttributeUsage(AttributeTargets.Class)]
	public class EntityHistory : System.Attribute
	{
		public EntityHistory(System.Type auditType) { this.AuditType = auditType; }
		public System.Type AuditType { get; private set; }
	}
}